package com.example.smart_community.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Staff {
    private Integer sId;
    private String  name;
    private String gender;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date   entryTime;
    private Integer  status;
    private String   phone;
    private String   address;
    private String idcard;
    private Integer postId;
    private Integer state;
    private Post post;


}
